package cn.deepxi.org.mapper;


import cn.deepxi.org.domain.Employee;
import cn.deepxi.org.query.EmpQuery;

import java.util.List;

public interface EmployeeMapper {
    void add(Employee employee);
    void del(Long id);
    void upt(Employee employee);
    Employee findById(Long id);
    List<Employee> findAll();

    Long queryCount(EmpQuery query);
    void patchDel(List<Long> ids);

    List<Employee> queryData(EmpQuery query);
}
